<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{$title}</title>
<meta name="keywords" content="{$keyword}" />
<meta name="description" content="{$description}" />
<link rel="stylesheet" href="__STATIC__/css/public.css">
<link rel="stylesheet" href="__STATIC__/css/list.css">
<script src="__STATIC__/js/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
    <!-- public header or signin login block -->
    <div class="header">
        <div class="header_c">
            <div class="logo"></div>
            <div class="loginBlock">
			 <if condition="$member['username'] eq '' " >
               <!-- <span class="signIn"><a href="{:U('Home/Login/reg')}" style="color:#333;">注册</a></span>&nbsp;|&nbsp;<span class="logIn"><a href="{:U('Home/Login/index')}" style="color:#333;">登录</a></span> -->
			  <else />
                <span class="signIn">欢迎，{$member['username']}</span><span class="logIn"><a href="{:U('Home/Login/logout')}" style="color:#333;">退出</a></span>
			  </if>
            </div>
            <ul>
             <volist name="menu" id="vo">
              <li class="<eq name="Think.const.ACTION_NAME" value="$vo.active">current_li</eq>"><a href="{$vo.url}">{$vo.name}</a></li> 
             </volist>
            </ul>
        </div>
    </div>
    
    <!-- current page start here -->
    <div class="currentPage">
       
        <!-- search area -->
        <div class="searchArea">
             <form action="{:U('Index/search')}" method="post">
			 <div class="searchLine">
                <input type="text" name="key" placeholder="输入区域或地铁关键词搜索">
                <button type="submit">搜  索</button>
                <a href="http://www.baidu.com" class="mapSearch"></a>
            </div>
			</form>	
            <dl class="hotArea">
                <dt>热门区域：</dt>
                <dd><a href="__ROOT__/index.php?m=Home&c=Index&a=rent2&search=地铁一号线">地铁一号线</a></dd>
                <dd><a href="__ROOT__/index.php?m=Home&c=Index&a=rent2&search=地铁二号线">地铁二号线</a></dd>
                <dd><a href="__ROOT__/index.php?m=Home&c=Index&a=rent2&search=中山区">中山区</a></dd>
                <dd><a href="__ROOT__/index.php?m=Home&c=Index&a=rent2&search=西岗区">西岗区</a></dd>
                <dd><a href="__ROOT__/index.php?m=Home&c=Index&a=rent2&search=高新园区">高新园区</a></dd>
            </dl>
        </div>

   
        <!-- listArea -->
        <div class="listArea">
            <div class="list_c">
                <div class="sortTitle">
                    <div class="currentDiv defaultSort">搜索</div>
                </div>
                <div class="listBlock">
                    <div class="sortList">
                      <volist name="model" id="vo">  
                        <div class="listPart">
                            <div class="listImg">
                                <img src="__ROOT__/Public/{$vo['imgurl']|substr=0,-1}" alt="{$vo['title']}">
                            </div>
                            <div class="listInfo">
                                <h4>{$vo['area']} {$vo['tube']} {$vo['huxing']} {$vo['chaoxiang']}</h4>
                                <div class="houseInfo">
                                    <span class="icon house"></span>
                                    <span class="square">{$vo.mianji}㎡</span>&nbsp;|&nbsp;
                                    <span class="houseType">{$vo.huxing}</span>&nbsp;|&nbsp;
                                    <span class="floor">{$vo.floor}层</span>&nbsp;|&nbsp;
                                    <span class="rentType">{$vo.zulinfs}</span>
                                </div>
                                <div class="locationInfo">
                                    <span class="icon loca"></span>
                                    <span class="location">{$vo.dizhi}</span>
                                </div>
                                <div class="tabs">
								<?php
								$arr = explode("|",$vo['peizhi']);
                                foreach ($arr as $vo) {
                                echo '<span class="tab">'.$vo.'</span>';
                                }
		                        ?>
                                    
							
                                </div>
                            </div>
                            <div class="moreInfo">
                                <div class="price">
                                    ￥<span class="number">{$vo.price}</span>  <span>元/月</span>
                                </div>
                                <a href="__ROOT__/index.php?m=Home&c=Index&a=rentcontent&id={$vo['id']}"><div class="moreButton">查看更多</div></a>
                            </div>
                        </div>
                        </volist>
			 
                    </div>
                    <div class="pageControl">
	                {$page}
                    </div>
                </div>
            </div>
        </div>
    </div>
	

    
    <!-- public footer block -->
    <div class="footer">
        <div class="footLink"></div>
        <div class="copyRight">
            <div class="copyRight_c">
                <div>{$copyright} {$beian|htmlspecialchars_decode}</div>
                <ul>
             <volist name="menu" id="vo">
              <li><a href="__ROOT__/{$vo.url}">{$vo.name}</a></li> 
             </volist>
                </ul>
            </div>
            
        </div>
    </div>
    
    <!-- public aside block -->
    <ul class="aside">
        <li class="share"></li>
        <li class="comment"></li>
        <li class="wechat"></li>
        <li class="goTop"></li>
    </ul>
    
    <!-- customService block -->
    <div class="customService"></div>
 
    <!-- script area -->
    <script src="__STATIC__/js/list.js"></script>
</body>
</html>